import apiClient from "./apiClient";

// comments业务请求封装
export default {
    // 一个文章
    create: (slug, body) => apiClient.post(`/comments/${slug}`, { body }),
    get: slug => apiClient.get(`/comments/${slug}`),
    delete: (slug, id) => apiClient.delete(`/comments/${slug}/${id}`),


}